package com.bestcem.xm.ticket.enums;

import lombok.Getter;

/**
 * 题型枚举
 * @author jy.zhao
 * @version 1.0
 * @date 2021/8/27 20:03
 **/
@Getter
public enum TitleTypeEnum {
    /**
     * 单选
     */
    SINGLE(0, "single"),

    /**
     * 多选
     */
    MULTIPLE(1, "multiple"),

    /**
     * 城市题
     */
    CITY(2, "city"),

    /**
     * 评价题
     */
    EVALUATION(3, "evaluation"),

    /**
     * 排序题
     */
    SORT(4, "sort"),

    /**
     * 矩阵题
     */
    MATRIX_SINGLE(5, "matrix_single"),

    /**
     * 分数
     */
    SCORE(6, "score"),

    /**
     * nps
     */
    NPS(7, "nps"),

    /**
     * proportion
     */
    PROPORTION(8, "proportion"),

    /**
     * 矩阵多题
     */
    MATRIX_MULTIPLE(9, "matrix_multiple");

    private final String name;

    private final int index;

    TitleTypeEnum(int index, String name) {
        this.name = name;
        this.index = index;
    }
}
